package cn.wsalix.templet.repository;
import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import cn.anlaser.repository.SimpleRepository;
import cn.wsalix.templet.entity.SitePagePlace;

public interface SitePagePlaceRepository extends
		SimpleRepository<SitePagePlace> {
	@Query("select u from SitePagePlace u where u.sitePage.id = :pageId")
	List<SitePagePlace> finByPageId(@Param("pageId") Long pageId);

}
